package day04;

import java.util.Arrays;

/**
 * @author yangwenqi
 * @decs TODO
 * @date 2025/4/18
 */
public class Main {
    public static void main(String[] args) {
        int[] arr = {14,2,5,7,10,23};
        int target = 7;
        System.out.println("原数组为："+ Arrays.toString(arr));
        int index = Binary.binarySearch(Bubble.bubble(arr), target);
        System.out.println("排序后的数组为："+Arrays.toString(arr));
        System.out.println("数字"+target+"的下标是："+index);

    }
}
